package com.example.administrator.wallet.model.bean;

/**
 * Created by Administrator on 2018/8/2.
 */

public class TransactionDetailsBean {
    /**
     * code : 200
     * data : {"tx_hash":"0x073ce405384932f616f2daa52d9ab9fde1ee66b70599b4b621bdcdaed711646d","status":"fail","value_dec":"0.000001","coin_unit":"Ether","date":"2018-08-02 17:12:13","miner_money":2.0999999979E-5,"confirmation_number":3756908,"output":"0.000001","input":"0","input_data":"","from":"0x335dd73d7bf303d7111e20bda0f913fbe38bebef","to":"0x655c24c1c0ec24990d2866e09b6477d4a682cf41"}
     * message : 提交成功
     */

    private int code;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * tx_hash : 0x073ce405384932f616f2daa52d9ab9fde1ee66b70599b4b621bdcdaed711646d
         * status : fail
         * value_dec : 0.000001
         * coin_unit : Ether
         * date : 2018-08-02 17:12:13
         * miner_money : 2.0999999979E-5
         * confirmation_number : 3756908
         * output : 0.000001
         * input : 0
         * input_data :
         * from : 0x335dd73d7bf303d7111e20bda0f913fbe38bebef
         * to : 0x655c24c1c0ec24990d2866e09b6477d4a682cf41
         */

        private String tx_hash;
        private String status;
        private String value_dec;
        private String coin_unit;
        private String date;
        private double miner_money;
        private int confirmation_number;
        private String output;
        private String input;
        private String input_data;
        private String from;
        private String to;

        public String getTx_hash() {
            return tx_hash;
        }

        public void setTx_hash(String tx_hash) {
            this.tx_hash = tx_hash;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getValue_dec() {
            return value_dec;
        }

        public void setValue_dec(String value_dec) {
            this.value_dec = value_dec;
        }

        public String getCoin_unit() {
            return coin_unit;
        }

        public void setCoin_unit(String coin_unit) {
            this.coin_unit = coin_unit;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public double getMiner_money() {
            return miner_money;
        }

        public void setMiner_money(double miner_money) {
            this.miner_money = miner_money;
        }

        public int getConfirmation_number() {
            return confirmation_number;
        }

        public void setConfirmation_number(int confirmation_number) {
            this.confirmation_number = confirmation_number;
        }

        public String getOutput() {
            return output;
        }

        public void setOutput(String output) {
            this.output = output;
        }

        public String getInput() {
            return input;
        }

        public void setInput(String input) {
            this.input = input;
        }

        public String getInput_data() {
            return input_data;
        }

        public void setInput_data(String input_data) {
            this.input_data = input_data;
        }

        public String getFrom() {
            return from;
        }

        public void setFrom(String from) {
            this.from = from;
        }

        public String getTo() {
            return to;
        }

        public void setTo(String to) {
            this.to = to;
        }
    }
}
